home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Sample Code / Codecs / examplecodec / examplecodec.make < prev    next >
Encoding:
Text File  |  1993-06-23  |  878 b   |  35 lines  |  [TEXT/MPS ]

  1.  
  2.  
  3. interfaces = ":"
  4. BUILDRES = ":"
  5. imagecomp = "{interfaces}imagecompression.h"
  6. codecguts = "{interfaces}ImageCodec.h"
  7.  
  8.  
  9. COptions     = -warnings off -I {INTERFACES} -mc68020  -o {targ}
  10. AOptions     = -wb -o {targ}
  11. Roptions     = -append -i {interfaces}
  12.  
  13.  
  14.  
  15. ExampleCodec    ƒƒ     examplecodec.make ExampleCodec.r
  16.     Echo   "# `date -s -t` -- Rezzing ExampleCodec"
  17.     Rez {ROptions} -o ExampleCodec -c 'appl' -t 'thng' ExampleCodec.r
  18.  
  19.  
  20.     
  21. ExampleCodec     ƒƒ    ExampleCodec.c.o examplecodec.make
  22.     Echo   "# `date -s -t` -- Linking ExampleCodec"
  23.     Link -w -m EXAMPLECODEC -rt 'cdec'=128 -ra 16 ∂
  24.         -sg Inst ∂
  25.          ExampleCodec.c.o ∂
  26.         "{Libraries}"Runtime.o ∂
  27.         "{Libraries}"Interface.o ∂
  28.         -o ExampleCodec -c "mark" -t "thng" 
  29.  
  30.  
  31. "{warholObjects}"ExampleCodec.c.o ƒ examplecodec.make ExampleCodec.c {imagecomp} {codecguts}
  32.     Echo   "# `date -s -t` -- Compiling ExampleCodec"
  33.      C -b2 {COptions} ExampleCodec.c
  34.  
  35.